import React from 'react';
import { IRouteComponentProps } from 'umi';
import styles from './index.less';

export default function Page(props: IRouteComponentProps) {
  console.log(props);
  return (
    <div>
      <h1 className={styles.title}>Page login/index</h1>
      <button onClick={() => {
        props.history.goBack();
      }}>返回</button>
    </div>
  );
} 
